Component org.nuxeo.ecm.platform.preview.adapter.contrib
In bundle org.nuxeo.ecm.platform.preview
Contributions
- org.nuxeo.ecm.platform.preview.adapter.contrib--MimeTypePreviewer
- org.nuxeo.ecm.platform.preview.adapter.contrib--AdapterFactory
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.adapter.contrib">
<extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
point="AdapterFactory">
<documentation>
Default builtin adapters
</documentation>
<previewAdapter name="notePreviewAdapter" enabled="false">
<typeName>Note</typeName>
<class>org.nuxeo.ecm.platform.preview.adapter.factories.NotePreviewAdapter</class>
</previewAdapter>
</extension>
<extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
point="MimeTypePreviewer">
<previewer class="org.nuxeo.ecm.platform.preview.adapter.ImagePreviewer">
<pattern>image.*</pattern>
</previewer>
<previewer class="org.nuxeo.ecm.platform.preview.adapter.HtmlPreviewer">
<pattern>text/html</pattern>
</previewer>
<previewer class="org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer">
<pattern>text/plain</pattern>
</previewer>
</extension>
</component>